/* Curses-specific commands for the curses interface to Xconq.
   Copyright (C) 1994 Stanley T. Shebs.

Xconq is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.  See the file COPYING.  */

/* Single-character commands. */

DEF_CMD(  '+' , "list order", "", do_c_change_list_order,
  "")

DEF_CMD(  '_' , "list filter", "", do_c_change_list_filter,
  "")

DEF_CMD(  '>' , "grow", "", do_c_grow_map,
  "make map take more of screen")

DEF_CMD(  '<' , "shrink", "", do_c_shrink_map,
  "make map take less of screen")

DEF_CMD(  'i' , "occ", "U", do_c_occupant,
  "look at occupant(s)")

/* (should be generic) */
DEF_CMD(  'e' , "embark", "U", do_embark,
  "embark units onto transport occupying same unit")

DEF_CMD(  'v' , "list type", "", do_c_change_list_type,
  "")

#ifdef DESIGNERS

DEF_CMD(  '|' , "set unit type", "", do_c_set_unit_type,
  "modify paint type (designers only)")

DEF_CMD( '\\' , "add unit", "", do_c_add_unit,
  "build a new unit (designers only)")

DEF_CMD(  '~' , "set terrain type", "", do_c_set_terrain_type,
  "modify paint type (designers only)")

DEF_CMD(  '`' , "paint terrain", "", do_c_paint_terrain,
  "modify terrain (designers only)")

#endif /* DESIGNERS */

/* Long name commands. */

DEF_CMD(   0  , "both", "", do_c_use_both_chars,
  "toggle display of terrain chars in both char positions")

DEF_CMD(   0  , "follow action", "", do_c_follow_action,
  "toggle action following")
